package myschool.object.student;

public class PersonFour {
    private String name;
    private int age;
    private String school;
    private String major;
    public  PersonFour(String n,int a){
        this.name = n;
        this.age = a;
    }
    public  PersonFour(String n,int a,String s){
        this.name = n;
        this.age = a;
        this.school = s;
    }
    public  PersonFour(String n,int a,String s,String m){
        this.name = n;
        this.age = a;
        this.school = s;
        this.major = m;
    }
    public String person(){
        return this.name+"\t"+this.age+"\t"+this.school+"\t"+this.major;
    }
}
